Elementor\Modules\Ai\Module D

Total Complexity 131
Dependencies 10
Dependents 1
Total lines 996
Lines of code 757
Logical lines of code 349
Comment lines 6
Methods 37
Properties 0

Methods 37

Method Rating Maintainability Complexity Lines of code
ajax_ai_generate_layout()
A
41 9 60
enqueue_main_script()
A
43 7 53
__construct()
A
40 5 66
ajax_ai_get_image_to_image_mask()
A
48 7 33
ajax_ai_get_image_to_image()
S
50 6 29
prepare_generate_layout_context()
S
42 4 58
ajax_ai_upload_image()
S
54 6 20
ajax_ai_get_custom_css()
S
52 5 25
ajax_ai_get_image_to_image_replace_background()
S
52 5 25
ajax_ai_get_image_to_image_upscale()
S
52 5 25
ajax_ai_toggle_favorite_history_item()
S
58 5 15
ajax_ai_delete_history_item()
S
58 5 15
ajax_ai_get_image_to_image_outpainting()
S
52 4 25
ajax_ai_get_edit_text()
S
53 4 22
ajax_ai_get_custom_code()
S
54 4 21
ajax_ai_get_image_to_image_remove_background()
S
54 4 21
ajax_ai_get_history()
S
55 4 18
ajax_ai_get_layout_prompt_enhancer()
S
54 3 21
ajax_ai_get_completion_text()
S
55 3 19
ajax_ai_get_text_to_image()
S
55 3 19
ajax_ai_get_image_prompt_enhancer()
S
56 3 18
verify_permissions()
S
65 4 9
upload_image()
S
58 3 15
ajax_ai_set_status_feedback()
S
63 3 11
remove_temporary_containers()
S
62 3 11
ajax_ai_get_user_information()
S
56 2 19
enqueue_layout_script()
S
57 1 20
throw_on_error()
S
67 2 8
get_request_ids()
S
71 2 6
get_request_context()
S
71 2 6
ajax_ai_get_remote_config()
S
69 2 7
register_layout_experiment()
S
62 1 12
ajax_ai_set_get_started()
S
69 1 7
get_ai_app()
S
80 1 3
get_ai_connect_url()
S
65 1 9
is_layout_active()
S
80 1 3
get_name()
S
82 1 3